package com.qqtech.qquan.mall.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class MallCart extends BaseDomain{

	//columns START
    /** 店铺id */
	private java.lang.Integer shopId;
    /** 用户id */
	private java.lang.Integer creatorId;
    /** 商品id */
	private java.lang.Integer productId;
    /** 商品数量 */
	private java.lang.Integer quantity;
	/** 商品规格Id */
	private java.lang.Integer productSpecId;
	//columns END
	public MallCart(){
	}

	public MallCart( java.lang.Integer id ){
		this.id = id;
	}

	public void setShopId(java.lang.Integer shopId) {
		this.shopId = shopId;
	}

	public java.lang.Integer getShopId() {
		return this.shopId;
	}
	
	public void setCreatorId(java.lang.Integer creatorId) {
		this.creatorId = creatorId;
	}

	public java.lang.Integer getCreatorId() {
		return this.creatorId;
	}
	
	public void setProductId(java.lang.Integer productId) {
		this.productId = productId;
	}

	public java.lang.Integer getProductId() {
		return this.productId;
	}
	
	public void setQuantity(java.lang.Integer quantity) {
		this.quantity = quantity;
	}

	public java.lang.Integer getQuantity() {
		return this.quantity;
	}
	
	public java.lang.Integer getProductSpecId() {
		return productSpecId;
	}

	public void setProductSpecId(java.lang.Integer productSpecId) {
		this.productSpecId = productSpecId;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

